package com.gitee.shoes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LYH
 * @since 2020-12-09
 */
@Data
@Accessors(chain = true)
@TableName("pms_product_image")
public class ProductImage {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("productId")
    private Long productId;

    @TableField("imageUrl")
    private String imageUrl;

    private Integer sort;

}
